<?php 

foreach($permits as $permit) {
    print_r($permit);
}
?>